package com.econ.powercloud.ems.domain;

import com.econ.powercloud.common.base.facade.util.JacksonUtil;
import com.econ.powercloud.ems.dal.entity.EmsSyncIotProduct;
import com.econ.powercloud.ems.pojo.scene.OpenApiSceneProductVO;

/**
 * @Author : zjf
 * @Description :
 * @Date : 2021/11/16 11:14
 * @Modified by : zjf
 */
public class IotProductSyncDO {

    public static EmsSyncIotProduct VOToEntity(OpenApiSceneProductVO openApiSceneProductVO){
        EmsSyncIotProduct productSync = JacksonUtil.convertToObj(openApiSceneProductVO, EmsSyncIotProduct.class);
        return productSync;
    }

}
